From d4bed1303abb471524cf05e8023c37d4fa34cbd5 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Mon, 27 Apr 2015 08:26:28 +0200 Subject: [PATCH] Make the usage of spaces next to square brackets consistent --- src/doc/build-script.md | 2 +- src/doc/config.md | 2 +- src/doc/manifest.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/build-script.md b/src/doc/build-script.md index 61ff5e44d..96a796bf9 100644 --- a/src/doc/build-script.md +++ b/src/doc/build-script.md @@ -294,7 +294,7 @@ Pretty similar to before! Next, the manifest: [package] name = "hello-world-from-c" version = "0.1.0" -authors = [ "you@example.com" ] +authors = ["you@example.com"] build = "build.rs" ``` diff --git a/src/doc/config.md b/src/doc/config.md index 9cfab21ba..d48c9dddd 100644 --- a/src/doc/config.md +++ b/src/doc/config.md @@ -37,7 +37,7 @@ value unless otherwise noted. ```toml # An array of paths to local repositories which are to be used as overrides for # dependencies. For more information see the Cargo Guide. -paths = [ "/path/to/override" ] +paths = ["/path/to/override"] [cargo-new] # This is your name/email to place in the `authors` section of a new Cargo.toml diff --git a/src/doc/manifest.md b/src/doc/manifest.md index c12765abd..87d37acd0 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -8,7 +8,7 @@ The first section in a `Cargo.toml` is `[package]`. [package] name = "hello_world" # the name of the package version = "0.1.0" # the current version, obeying semver -authors = [ "you@example.com" ] +authors = ["you@example.com"] ``` All three of these fields are mandatory. Cargo bakes in the concept of -- 2.30.2